價格:免費
更新日期:2017-08-16
檔案大小:2.9M
目前版本:1.01
版本需求:Android 3.0 以上版本
官方網站:http://droidscript.org
Email:support@droidscript.org
聯絡地址:SoftCogs Ltd Future Business Centre Cambridge Kings Hedges Rd, Cambridge CB4 2HY United Kingdom
This free plugin enables your Android device to communicate with the Puck.js Bluetooth JavaScript micro-controller. Detailed information about controlling the Puck can be found
on the :- http://www.espruino/Puck.js web site.
You can use this plugin in your apps to remotely control all functions of your Puck by sending JavaScript code to the interpreter inside the Puck via Bluetooth. You can also receive the console output of your Puck programs to get information back to your app.
Although you can send raw JavaScript code to the Puck using the SendCode method, in many cases you may prefer to use the built-in convenience methods provided by this plugin. These methods allow you easily perform common tasks such as controlling the LEDs, reading the battery level, reading button presses and getting the temperature etc.